package ComputerOrganization;

/**
 * @Author maojiangyue
 * @Date 2025/10/10
 * @Description
 */
public class Monitor {
    private String brand;
    private int size;

    public Monitor(String brand, int size) {
        this.brand = brand;
        this.size = size;
    }

    public void display(String content) {
        System.out.println("显示器 [" + brand + " " + size + "英寸] 正在显示: " + content);
    }

    public void turnOn() {
        System.out.println("显示器已开启");
    }
}
